<?php
/**
 * Copyright © 2013-2017 Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */

// @codingStandardsIgnoreFile

?>

<?php if ($block->canDisplayGiftmessage()): ?>
<div id="gift-message-form-data-<?php /* @escapeNotVerified */ echo $block->getItem()->getId(); ?>" class="no-display">
    <form id="<?php /* @escapeNotVerified */ echo $block->getFieldId('form') ?>" action="<?php /* @escapeNotVerified */ echo $block->getSaveUrl() ?>">
        <input type="hidden" id="<?php /* @escapeNotVerified */ echo $block->getFieldId('type') ?>" name="<?php /* @escapeNotVerified */ echo $block->getFieldName('type') ?>" value="order_item" />
        <input type="hidden" id="<?php /* @escapeNotVerified */ echo $block->getFieldId('sender') ?>" name="<?php /* @escapeNotVerified */ echo $block->getFieldName('sender') ?>" value="<?php /* @escapeNotVerified */ echo $block->getSender() ?>" />
        <input type="hidden" id="<?php /* @escapeNotVerified */ echo $block->getFieldId('recipient') ?>" name="<?php /* @escapeNotVerified */ echo $block->getFieldName('recipient') ?>"  value="<?php /* @escapeNotVerified */ echo $block->getRecipient() ?>" />
        <input type="hidden" id="<?php /* @escapeNotVerified */ echo $block->getFieldId('message') ?>" name="<?php /* @escapeNotVerified */ echo $block->getFieldName('message') ?>"  value="<?php /* @escapeNotVerified */ echo $block->getMessageText() ?>" />
    </form>

    <?php if ($block->getMessageText()): ?>
    <div class="gift-options-tooltip-content">
        <div><strong><?php /* @escapeNotVerified */ echo __('Gift Message')?></strong>: </div>
        <div><?php /* @escapeNotVerified */ echo $block->getMessageText() ?></div>
    </div>
    <?php endif; ?>
</div>
<?php endif; ?>
